<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c"
           uri="http://java.sun.com/jsp/jstl/core" %>

<%@ page isELIgnored="false" %>
<html>
<head>
    <title>Items</title>
</head>
<body>
<h3>Available Items</h3>
<jsp:useBean id="itemsBean" class="mvp.levelup.web.bean.ItemsBean" scope="session"/>
<table>
    <tr>
        <td>Name</td>
        <td>Amount</td>
        <td>Bonus</td>
    </tr>
    <c:forEach items="${itemsBean.items}" var="itms">
        <tr>
            <td>${itms.itemName}</td>
            <td>${itms.amount}</td>
            <td>${itms.bonus}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
